package core.hxl.dao;

import lombok.Data;
import lombok.ToString;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

@Component
@Data
@RefreshScope
@ToString
public class User {

    @Value("${baseuri}")
    private String baseuri;

    @Value("${name}")
    private String name;

    @Value("${age}")
    private String age;

    @Value("${sex}")
    private String sex;

    @Value("${email}")
    private String email;

    @Value("${qq}")
    private String qq;

}
